package com.dm.cloud.auth.common.po;

import com.dm.cloud.basepo.po.BasePo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
   * @author hcx
   * @type AuthRolePermission.java
   * @desc AuthRolePermission
   */

@Entity
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "T_AUTH_ROLE_PERMISSION")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "AuthRolePermission")
public class AuthRolePermission extends BasePo {

      /** 角色ID **/ 
      @Schema(description = "角色ID")
      @Column(name = "role_id")
      private String roleId;
      /** 权限ID **/ 
      @Schema(description = "权限ID")
      @Column(name = "permission_id")
      private String permissionId;

}
